using System.ComponentModel.DataAnnotations;

namespace Traceability.Domain
{
    /// <summary>
    /// 屠宰信息实体
    /// </summary>
    public class SlaughterInfo : BaseEntity
    {
        /// <summary>
        /// 屠宰信息主键
        /// </summary>
        [Key]
        public int SlaughterId {  get; set; }
        /// <summary>
        /// 生产批次
        /// </summary>
        public string ProductionBatch { get; set; } = string.Empty;

        /// <summary>
        /// 到场均重（千克）
        /// </summary>
        public decimal AverageArrivalWeight { get; set; }

        /// <summary>
        /// 到场时间
        /// </summary>
        public DateTime ArrivalTime { get; set; }

        /// <summary>
        /// 屠宰时间
        /// </summary>
        public DateTime SlaughterTime { get; set; }
    }
} 